package com.capgemini.diabeo.service;

import android.content.Context;

import com.googlecode.androidannotations.annotations.AfterInject;
import com.googlecode.androidannotations.annotations.EBean;
import com.googlecode.androidannotations.annotations.RootContext;

@EBean
public abstract class AbstractDatabaseService {

	@RootContext
	Context context;

	protected DatabaseService dbHelper;

	@AfterInject
	public void afterInject() {
		dbHelper = new DatabaseService(context);
	}
}
